<template>
  <img :src="style.url" alt="" :style="style">
</template>

<script setup lang="ts">
import { useCompProps } from '@/hooks'
import { defineProps } from 'vue'
const props = defineProps<{
  style: {
    [propsName: string]: any
  },
  text: string
}>();
const { style } = useCompProps(props)
</script>